package cn.crm.system.mapper;

import cn.crm.system.domain.pojo.dto.Crmpicture;
import cn.crm.system.domain.pojo.dto.CrmspecificationpictureDto;
import cn.crm.system.domain.pojo.vo.CrmpictureVo;
import cn.crm.system.domain.pojo.vo.CrmspecificationpictureVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 业务表头模块 数据层
 * 
 * @author xhy
 */
@Repository
public interface CrmspecificationpictureMapper
{
   //新增表头
   int insertCrmpicture(List<CrmspecificationpictureDto> crmspecificationpictureDtoList);
    //删除图片
    int delCrmpicture(Long[] specificationId);
    //通过表头id查询出图片详情
    List<CrmspecificationpictureVo> selectcrmpicturebyid(Long id);
    //修改图片
     int updateCrmpicture(List<CrmspecificationpictureDto> toUpdate);
     //通过图片的id查询出数据库还有无改笔数据
    int selectcrmpicturebyidInt(Long [] specificationId);
}
